import { defineStore } from 'pinia'

export const useBillStore = defineStore('bill', {
  state: () => ({ billList: [] }),
  getters: {},
  actions: {
    setBillList(payload) {
      this.billList = payload
    },
    addBillRecord(payload) {
      this.billList.push(payload)
    }
  }
})
